package com.smartleanx.module.hrm.service.esign.temp.result;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * e签宝文件夹
 *
 * @author xzq
 * @since 2025-07-07 16:43:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "文件夹返回类")
public class HrmEFolderResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "数据状态 0/删除 1/正常")
    private Integer dataStatus;

    @Schema(description = "文件夹名称")
    private String folderName;

    @Schema(description = "租户id")
    private Long tenantId;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "文件夹状态 0/未开启 1/开启")
    private String folderStatus;

    @Schema(description = "子文件")
    private List<HrmEFolderResult> children;
}
